﻿namespace Jim.K3Cloud;

/// <summary>
/// 获取产品信息
/// </summary>
[Sdk("Kingdee.BOS.ServiceFacade.ServicesStub.DataCenterService.GetDataCenterProductInfo", "获取产品信息")]
public class K3CloudGetDataCenterProductInfoRequest : ISdkRequest<K3CloudGetDataCenterProductInfoResponse>
{
    public void Validate()
    {
    }
}


public class K3CloudGetDataCenterProductInfoResponse : SdkResponse<K3CloudGetDataCenterProductInfoData>
{
}
public class K3CloudGetDataCenterProductInfoData
{
    /// <summary>帐套类型</summary>
    public string AccountType { get; set; }

    /// <summary>当前数据中心所基于的BOS平台版本号</summary>
    public DataCenterVersion DataCenterBasedBOSVersion { get; set; }

    /// <summary>当前BOS运行平台的版本</summary>
    public DataCenterVersion PublishedBOSVersion { get; set; }
}

public class DataCenterVersion
{
    public int Major { get; set; }
    public int Minor { get; set; }
    public int Build { get; set; }
    public int Revision { get; set; }
    public int MajorRevision { get; set; }
    public int MinorRevision { get; set; }
}
